package com.tetra.arena.mysql;

import org.bukkit.entity.Player;

public interface DataSource {

	public void createTeam(String TeamName, Player creator);

	public void AddPlayer(Player p);

	public void deleteTeam(Player p);

	public void joinTeam(Player p, String TeamName);

	public void setTeamOpenState(Player p);

	public int getIntValue(String table, String field, String key,
			int intvalue, String strvalue);

	public void leaveTeam(Player p);

	public void sendInvite(Player sender, String target);

	public void createParty(Player p);

	public void disbandParty(Player p);

	public void partyInvite(Player p, String target);

	public void joinParty(Player p, String target);

	public void kickPlayerFromParty(Player sender, String string);

	public void leaveParty(Player sender);
}
